<?php

namespace app\admin\model;

use think\Model;

class Noticecate extends Model
{
    //
    protected $table = 'notice_nodes';

    protected $autoWriteTimestamp = 'datetime';

    protected $dateFormat = 'Y-m-d H:i:s';

    protected $createTime = 'created_at';

    protected $updateTime = 'updated_at';

    public function notices()
    {

        return $this->hasMany('Notice');
    }
}
